github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/russross/blackfriday/testdata/Backslash escapes.text (about)

     1  These should all get escaped:
     2  
     3  Backslash: \\
     4  
     5  Backtick: \`
     6  
     7  Asterisk: \*
     8  
     9  Underscore: \_
    10  
    11  Left brace: \{
    12  
    13  Right brace: \}
    14  
    15  Left bracket: \[
    16  
    17  Right bracket: \]
    18  
    19  Left paren: \(
    20  
    21  Right paren: \)
    22  
    23  Greater-than: \>
    24  
    25  Hash: \#
    26  
    27  Period: \.
    28  
    29  Bang: \!
    30  
    31  Plus: \+
    32  
    33  Minus: \-
    34  
    35  Tilde: \~
    36  
    37  
    38  
    39  These should not, because they occur within a code block:
    40  
    41  	Backslash: \\
    42  
    43  	Backtick: \`
    44  
    45  	Asterisk: \*
    46  
    47  	Underscore: \_
    48  
    49  	Left brace: \{
    50  
    51  	Right brace: \}
    52  
    53  	Left bracket: \[
    54  
    55  	Right bracket: \]
    56  
    57  	Left paren: \(
    58  
    59  	Right paren: \)
    60  
    61  	Greater-than: \>
    62  
    63  	Hash: \#
    64  
    65  	Period: \.
    66  
    67  	Bang: \!
    68  
    69  	Plus: \+
    70  
    71  	Minus: \-
    72  
    73  	Tilde: \~
    74  
    75  
    76  Nor should these, which occur in code spans:
    77  
    78  Backslash: `\\`
    79  
    80  Backtick: `` \` ``
    81  
    82  Asterisk: `\*`
    83  
    84  Underscore: `\_`
    85  
    86  Left brace: `\{`
    87  
    88  Right brace: `\}`
    89  
    90  Left bracket: `\[`
    91  
    92  Right bracket: `\]`
    93  
    94  Left paren: `\(`
    95  
    96  Right paren: `\)`
    97  
    98  Greater-than: `\>`
    99  
   100  Hash: `\#`
   101  
   102  Period: `\.`
   103  
   104  Bang: `\!`
   105  
   106  Plus: `\+`
   107  
   108  Minus: `\-`
   109  
   110  Tilde: `\~`
   111  
   112  
   113  These should get escaped, even though they're matching pairs for
   114  other Markdown constructs:
   115  
   116  \*asterisks\*
   117  
   118  \_underscores\_
   119  
   120  \`backticks\`
   121  
   122  This is a code span with a literal backslash-backtick sequence: `` \` ``
   123  
   124  This is a tag with unescaped backticks <span attr='`ticks`'>bar</span>.
   125  
   126  This is a tag with backslashes <span attr='\\backslashes\\'>bar</span>.